<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<title>Acesso do Usuário</title>
</h:head>

<h:body>
	<div id="tudo" align="center" style="background-color: transparent;">
		<h:form style="background-color:transparent;">
			<p:panel style="background-color: transparent;">
				<p:panelGrid columns="2" style="background-color: transparent;">

					<h:outputLabel value="Usuario" styleClass="required_labels" />
					<p:inputText value="#{MbLogin.usuarioDTO.usuarioLogin}" size="45"
						id="campo_usuario" />

					<h:outputLabel value="Senha" styleClass="required_labels" />
					<p:password value="#{MbLogin.usuarioDTO.senhaLogin}"
						goodLabel="SENHA MEDIA" maxlength="20" weakLabel="SENHA FRACA"
						strongLabel="SENHA FORTE" id="campo_senha" feedback="true"
						size="45" />
				</p:panelGrid>
				<p:commandButton ajax="false" value="ENTRAR"
					action="#{MbLogin.doLogin()}" />
				<p:commandButton ajax="true" value="LIMPAR"
					action="#{MbLogin.limparTela()}" update="campo_usuario campo_senha" />
			</p:panel>
		</h:form>
	</div>
</h:body>
</html>

